package com.exam.role.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Department entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Department implements java.io.Serializable
{

	// Fields

	private Integer id;
	private String departmentname;
	private String remarks;
	private String departmentno;
	private Set teachers = new HashSet(0);

	// Constructors

	/** default constructor */
	public Department()
	{
	}

	/** minimal constructor */
	public Department(String departmentname, String departmentno)
	{
		this.departmentname = departmentname;
		this.departmentno = departmentno;
	}

	/** full constructor */
	public Department(String departmentname, String remarks, String departmentno, Set teachers)
	{
		this.departmentname = departmentname;
		this.remarks = remarks;
		this.departmentno = departmentno;
		this.teachers = teachers;
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getDepartmentname()
	{
		return this.departmentname;
	}

	public void setDepartmentname(String departmentname)
	{
		this.departmentname = departmentname;
	}

	public String getRemarks()
	{
		return this.remarks;
	}

	public void setRemarks(String remarks)
	{
		this.remarks = remarks;
	}

	public String getDepartmentno()
	{
		return this.departmentno;
	}

	public void setDepartmentno(String departmentno)
	{
		this.departmentno = departmentno;
	}

	public Set getTeachers()
	{
		return this.teachers;
	}

	public void setTeachers(Set teachers)
	{
		this.teachers = teachers;
	}

}